200
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions

Tree1->FormatAnchor[true] = L"<b><u><fgcolor=FF0000> </fgcolor></u></b>";
Tree1->Columns->Add(L"Column");
Extreelib_tlb::IItemsPtr var_Items = Tree1->Items;
	var_Items->set_CellCaptionFormat(TVariant(var_Items->AddItem(TVariant("Just an <a1>anchor</a> element ..."))),TVariant(0),Extreelib_tlb::CaptionFormatEnum::exHTML);
Extreelib_tlb::IItemsPtr var_Items1 = Tree1->Items;
	var_Items1->set_CellCaptionFormat(TVariant(var_Items1->AddItem(TVariant("Just another <a2>anchor</a> element ..."))),TVariant(0),Extreelib_tlb::CaptionFormatEnum::exHTML);

199
Can I change the font for the tooltip

Tree1->ToolTipDelay = 1;
Tree1->ToolTipWidth = 364;
Tree1->Columns->Add(L"tootip")->ToolTip = L"<br><font Tahoma;14>this</font> is a tooltip assigned to a column<br>";

198
Can I change the font for the tooltip

Tree1->ToolTipDelay = 1;
/*
	Select the Component\Import Component...\Import a Type Library,
	to import the following Type Library:

		OLE Automation

	TypeLib: stdole2.tlb

	to define the namespace: Stdole_tlb
*/
//#include "STDOLE_TLB.h"
Stdole_tlb::FontPtr var_StdFont = Tree1->ToolTipFont;
	var_StdFont->Name = L"Tahoma";
	var_StdFont->Size = TVariant(long(14));
Tree1->ToolTipWidth = 364;
Tree1->Columns->Add(L"tootip")->ToolTip = L"this is a tooltip assigned to a column";

197
Can I change the order of the buttons in the scroll bar

Tree1->ScrollOrderParts[Extreelib_tlb::ScrollBarEnum::exHScroll] = L"t,l,r";
Tree1->ScrollOrderParts[Extreelib_tlb::ScrollBarEnum::exVScroll] = L"t,l,r";
Tree1->ScrollBars = Extreelib_tlb::ScrollBarsEnum::exDisableBoth;

196
The thumb size seems to be very small. Can I make it bigger

Tree1->ColumnAutoResize = false;
Tree1->Columns->Add(L"C1")->Width = 256;
Tree1->Columns->Add(L"C2")->Width = 256;
Tree1->Columns->Add(L"C3")->Width = 256;
Tree1->ScrollThumbSize[Extreelib_tlb::ScrollBarEnum::exHScroll] = 64;

195
How can I display my text on the scroll bar, using a different font

Tree1->ScrollPartCaption[Extreelib_tlb::ScrollBarEnum::exHScroll,Extreelib_tlb::ScrollPartEnum::exThumbPart] = L"This is <s><font Tahoma;12> just </font></s> text";
Tree1->ColumnAutoResize = false;
Tree1->ScrollHeight = 20;
Tree1->Columns->Add(L"C1")->Width = 256;
Tree1->Columns->Add(L"C2")->Width = 256;
Tree1->Columns->Add(L"C3")->Width = 256;

194
How can I display my text on the scroll bar, using a different font

Tree1->ScrollPartCaption[Extreelib_tlb::ScrollBarEnum::exHScroll,Extreelib_tlb::ScrollPartEnum::exThumbPart] = L"This is just a text";
Tree1->ScrollFont[Extreelib_tlb::ScrollBarEnum::exHScroll]->Size = TVariant(long(12));
Tree1->ColumnAutoResize = false;
Tree1->ScrollHeight = 20;
Tree1->Columns->Add(L"C1")->Width = 256;
Tree1->Columns->Add(L"C2")->Width = 256;
Tree1->Columns->Add(L"C3")->Width = 256;

193
How can I display my text on the scroll bar

Tree1->ScrollPartCaption[Extreelib_tlb::ScrollBarEnum::exHScroll,Extreelib_tlb::ScrollPartEnum::exThumbPart] = L"this is just a text";
Tree1->ColumnAutoResize = false;
Tree1->Columns->Add(L"C1")->Width = 256;
Tree1->Columns->Add(L"C2")->Width = 256;
Tree1->Columns->Add(L"C3")->Width = 256;

192
How do I enlarge or change the size of the control's scrollbars

Tree1->ScrollHeight = 18;
Tree1->ScrollWidth = 18;
Tree1->ScrollButtonWidth = 18;
Tree1->ScrollButtonHeight = 18;
Tree1->ScrollBars = Extreelib_tlb::ScrollBarsEnum::exDisableBoth;

191
How do I assign a tooltip to a scrollbar

Tree1->ScrollToolTip[Extreelib_tlb::ScrollBarEnum::exHScroll] = L"This is a tooltip being shown when you click and drag the thumb in the horizontal scroll bar";
Tree1->ColumnAutoResize = false;
Tree1->Columns->Add(L"C1")->Width = 256;
Tree1->Columns->Add(L"C2")->Width = 256;
Tree1->Columns->Add(L"C3")->Width = 256;

190
How do I assign an icon to the button in the scrollbar

Tree1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Tree1->ScrollPartVisible[Extreelib_tlb::ScrollBarEnum::exHScroll,Extreelib_tlb::ScrollPartEnum::exLeftB1Part] = true;
Tree1->ScrollPartCaption[Extreelib_tlb::ScrollBarEnum::exHScroll,Extreelib_tlb::ScrollPartEnum::exLeftB1Part] = L"<img>1</img>";
Tree1->ScrollHeight = 18;
Tree1->ScrollButtonWidth = 18;
Tree1->ScrollBars = Extreelib_tlb::ScrollBarsEnum::exDisableNoHorizontal;

189
I need to add a button in the scroll bar. Is this possible

Tree1->ScrollPartVisible[Extreelib_tlb::ScrollBarEnum::exHScroll,Extreelib_tlb::ScrollPartEnum::exLeftB1Part] = true;
Tree1->ScrollPartCaption[Extreelib_tlb::ScrollBarEnum::exHScroll,Extreelib_tlb::ScrollPartEnum::exLeftB1Part] = L"1";
Tree1->ScrollBars = Extreelib_tlb::ScrollBarsEnum::exDisableNoHorizontal;

188
Can I display an additional buttons in the scroll bar

Tree1->ScrollPartVisible[Extreelib_tlb::ScrollBarEnum::exHScroll,Extreelib_tlb::ScrollPartEnum::exLeftB1Part] = true;
Tree1->ScrollPartVisible[Extreelib_tlb::ScrollBarEnum::exHScroll,Extreelib_tlb::ScrollPartEnum::exLeftB2Part] = true;
Tree1->ScrollPartVisible[Extreelib_tlb::ScrollBarEnum::exHScroll,Extreelib_tlb::ScrollPartEnum::exRightB6Part] = true;
Tree1->ScrollPartVisible[Extreelib_tlb::ScrollBarEnum::exHScroll,Extreelib_tlb::ScrollPartEnum::exRightB5Part] = true;
Tree1->ScrollBars = Extreelib_tlb::ScrollBarsEnum::exDisableNoHorizontal;

187
Can I display the picture aligned to the right, while the text aligned to the left

Tree1->DefaultItemHeight = 48;
Tree1->Columns->Add(L"C1");
Extreelib_tlb::IItemsPtr var_Items = Tree1->Items;
	TVariant s = TVariant(var_Items->get_SplitCell(TVariant(var_Items->AddItem(TVariant("Text"))),TVariant(0)));
	var_Items->set_CellPicture(TNoParam(),TVariant(s),Tree1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	var_Items->set_CellHAlignment(TNoParam(),TVariant(s),Extreelib_tlb::AlignmentEnum::RightAlignment);

186
How can I display a custom size picture to a cell or item

Tree1->DefaultItemHeight = 48;
Tree1->Columns->Add(L"C1");
Extreelib_tlb::IItemsPtr var_Items = Tree1->Items;
	var_Items->set_CellPicture(TVariant(var_Items->AddItem(TVariant("Text"))),TVariant(0),Tree1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));

185
How can I display a multiple pictures to a cell or item

Tree1->DefaultItemHeight = 48;
Tree1->HTMLPicture[L"pic1"] = TVariant("c:\\exontrol\\images\\zipdisk.gif");
Tree1->HTMLPicture[L"pic2"] = TVariant("c:\\exontrol\\images\\auction.gif");
Tree1->Columns->Add(L"C1");
Extreelib_tlb::IItemsPtr var_Items = Tree1->Items;
	var_Items->set_CellCaptionFormat(TVariant(var_Items->AddItem(TVariant("<img>pic1</img> Text <img>pic2</img> another text ..."))),TVariant(0),Extreelib_tlb::CaptionFormatEnum::exHTML);

184
How do I change the column's foreground color for numbers between an interval - Range

Extreelib_tlb::IConditionalFormatPtr var_ConditionalFormat = Tree1->ConditionalFormats->Add(L"%0 >= 2 and %0 <= 10",TNoParam());
	var_ConditionalFormat->Bold = true;
	var_ConditionalFormat->ForeColor = RGB(255,0,0);
	var_ConditionalFormat->ApplyTo = Extreelib_tlb::FormatApplyToEnum(0x1);
Tree1->Columns->Add(L"N1");
Tree1->Columns->Add(L"N2");
Extreelib_tlb::IItemsPtr var_Items = Tree1->Items;
	var_Items->set_CellCaption(TVariant(var_Items->AddItem(TVariant(1))),TVariant(1),TVariant(2));
Extreelib_tlb::IItemsPtr var_Items1 = Tree1->Items;
	var_Items1->set_CellCaption(TVariant(var_Items1->AddItem(TVariant(3))),TVariant(1),TVariant(3));
Extreelib_tlb::IItemsPtr var_Items2 = Tree1->Items;
	var_Items2->set_CellCaption(TVariant(var_Items2->AddItem(TVariant(10))),TVariant(1),TVariant(11));
Extreelib_tlb::IItemsPtr var_Items3 = Tree1->Items;
	var_Items3->set_CellCaption(TVariant(var_Items3->AddItem(TVariant(13))),TVariant(1),TVariant(31));
Tree1->SearchColumnIndex = 1;

183
How do I change the item's foreground color for numbers between an interval - Range

Tree1->ConditionalFormats->Add(L"%0 >= 2 and %0 <= 10",TNoParam())->ForeColor = RGB(255,0,0);
Tree1->Columns->Add(L"Numbers");
Tree1->Items->AddItem(TVariant(1));
Tree1->Items->AddItem(TVariant(2));
Tree1->Items->AddItem(TVariant(10));
Tree1->Items->AddItem(TVariant(20));

182
How do I change the item's background color for numbers less than a value

Tree1->ConditionalFormats->Add(L"%0 < 10",TNoParam())->BackColor = RGB(255,0,0);
Tree1->Columns->Add(L"Numbers");
Tree1->Items->AddItem(TVariant(1));
Tree1->Items->AddItem(TVariant(2));
Tree1->Items->AddItem(TVariant(10));
Tree1->Items->AddItem(TVariant(20));

181
How do I underline the numbers greater than a value

Tree1->ConditionalFormats->Add(L"%0 >= 10",TNoParam())->Underline = true;
Tree1->Columns->Add(L"Numbers");
Tree1->Items->AddItem(TVariant(1));
Tree1->Items->AddItem(TVariant(2));
Tree1->Items->AddItem(TVariant(10));
Tree1->Items->AddItem(TVariant(20));

180
How do I highlight in italic the numbers greater than a value

Tree1->ConditionalFormats->Add(L"%0 >= 10",TNoParam())->StrikeOut = true;
Tree1->Columns->Add(L"Numbers");
Tree1->Items->AddItem(TVariant(1));
Tree1->Items->AddItem(TVariant(2));
Tree1->Items->AddItem(TVariant(10));
Tree1->Items->AddItem(TVariant(20));

179
How do I highlight in italic the numbers greater than a value

Tree1->ConditionalFormats->Add(L"%0 >= 10",TNoParam())->Italic = true;
Tree1->Columns->Add(L"Numbers");
Tree1->Items->AddItem(TVariant(1));
Tree1->Items->AddItem(TVariant(2));
Tree1->Items->AddItem(TVariant(10));
Tree1->Items->AddItem(TVariant(20));

178
How do I highlight in bold the numbers greater than a value

Tree1->ConditionalFormats->Add(L"%0 >= 10",TNoParam())->Bold = true;
Tree1->Columns->Add(L"Numbers");
Tree1->Items->AddItem(TVariant(1));
Tree1->Items->AddItem(TVariant(2));
Tree1->Items->AddItem(TVariant(10));
Tree1->Items->AddItem(TVariant(20));

177
Can I use your EBN files to change the visual appearance for +/- expand - collapse buttons

Tree1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Tree1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
Tree1->LinesAtRoot = Extreelib_tlb::LinesAtRootEnum::exGroupLinesAtRoot;
Tree1->HasButtons = Extreelib_tlb::ExpandButtonEnum::exCustom;
Tree1->HasButtonsCustom[false] = 16777216;
Tree1->HasButtonsCustom[true] = 33554432;
Tree1->Columns->Add(L"Column");
Extreelib_tlb::IItemsPtr var_Items = Tree1->Items;
	long h = var_Items->AddItem(TVariant("Root 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 2"));
	var_Items->set_ExpandItem(h,true);
	h = var_Items->AddItem(TVariant("Root 2"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child"));

176
Can I use your EBN files to change the visual appearance for radio buttons

Tree1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Tree1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
Tree1->RadioImage[false] = 16777216;
Tree1->RadioImage[true] = 33554432;
Tree1->Columns->Add(L"Radio")->set_Def(Extreelib_tlb::DefColumnEnum::exCellHasRadioButton,TVariant(true));
Extreelib_tlb::IItemsPtr var_Items = Tree1->Items;
	var_Items->AddItem(TVariant("Radio 1"));
	var_Items->set_CellState(TVariant(var_Items->AddItem(TVariant("Radio 2"))),TVariant(0),1);
	var_Items->AddItem(TVariant("Radio 3"));

175
Can I use your EBN files to change the visual appearance for checkbox cells

Tree1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Tree1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
Tree1->CheckImage[Extreelib_tlb::CheckStateEnum::Unchecked] = 16777216;
Tree1->CheckImage[Extreelib_tlb::CheckStateEnum::Checked] = 33554432;
Tree1->Columns->Add(L"Check")->set_Def(Extreelib_tlb::DefColumnEnum::exCellHasCheckBox,TVariant(true));
Extreelib_tlb::IItemsPtr var_Items = Tree1->Items;
	var_Items->AddItem(TVariant("Check 1"));
	var_Items->set_CellState(TVariant(var_Items->AddItem(TVariant("Check 2"))),TVariant(0),1);

174
How do I change the visual aspect for thumb parts in the scroll bars, using EBN

Tree1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Tree1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
Tree1->VisualAppearance->Add(3,TVariant("c:\\exontrol\\images\\hot.ebn"));
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exHSThumb] = 0x1000000;
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exHSThumbP] = 0x2000000;
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exHSThumbH] = 0x3000000;
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exVSThumb] = 0x1000000;
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exVSThumbP] = 0x2000000;
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exVSThumbH] = 0x3000000;
Tree1->ColumnAutoResize = false;
Tree1->ScrollBySingleLine = true;
Tree1->Columns->Add(L"S")->Width = 483;
Extreelib_tlb::IItemsPtr var_Items = Tree1->Items;
	var_Items->set_ItemHeight(var_Items->AddItem(TVariant("Item 1")),248);
Tree1->Items->AddItem(TVariant("Item 2"));

173
How do I change the visual aspect only for the thumb in the scroll bar, using EBN

Tree1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Tree1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
Tree1->VisualAppearance->Add(3,TVariant("c:\\exontrol\\images\\hot.ebn"));
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exHSThumb] = 0x1000000;
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exHSThumbP] = 0x2000000;
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exHSThumbH] = 0x3000000;
Tree1->ColumnAutoResize = false;
Tree1->Columns->Add(L"S")->Width = 483;

172
I've seen that you can change the visual appearance for the scroll bar. How can I do that

Tree1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Tree1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
Tree1->VisualAppearance->Add(3,TVariant("c:\\exontrol\\images\\hot.ebn"));
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exSBtn] = 0x1000000;
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exSBtnP] = 0x2000000;
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exSBtnH] = 0x3000000;
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exHSBack] = RGB(240,240,240);
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exVSBack] = RGB(240,240,240);
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exScrollSizeGrip] = RGB(240,240,240);
Tree1->Columns->Add(L"S")->Width = 32;
Tree1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
Tree1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
Tree1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));
Tree1->Columns->Add(L"E1")->Width = 32;
Tree1->Columns->Add(L"E2")->Width = 32;
Tree1->Columns->Add(L"E3")->Width = 32;
Tree1->Columns->Add(L"E4")->Width = 32;
Tree1->ColumnAutoResize = false;
Tree1->ScrollBars = Extreelib_tlb::ScrollBarsEnum::exDisableBoth;

171
Is there any option to highligth the column from the cursor - point

Tree1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exCursorHoverColumn] = 0x1000000;
Tree1->Columns->Add(L"S")->Width = 32;
Tree1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
Tree1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
Tree1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));
Tree1->Columns->Add(L"E1")->Width = 32;
Tree1->Columns->Add(L"E2")->Width = 32;
Tree1->Columns->Add(L"E3")->Width = 32;
Tree1->Columns->Add(L"E4")->Width = 32;

170
How do I change the visual aspect of selected item in the drop down filter window, using your EBN technology

Tree1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exSelBackColorFilter] = 0x1000000;
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exSelForeColorFilter] = RGB(255,20,20);
Tree1->Columns->Add(L"Filter")->DisplayFilterButton = true;

169
How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN

Tree1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Tree1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exDateHeader] = 0x1000000;
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exDateTodayUp] = 0x1000000;
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exDateTodayDown] = 0x2000000;
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exDateScrollThumb] = 0x1000000;
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exDateScrollRange] = RGB(230,230,230);
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exDateSeparatorBar] = RGB(230,230,230);
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exDateSelect] = 0x1000000;
Extreelib_tlb::IColumnPtr var_Column = Tree1->Columns->Add(L"Date");
	var_Column->FilterType = Extreelib_tlb::FilterTypeEnum::exDate;
	var_Column->DisplayFilterButton = true;
	var_Column->DisplayFilterDate = true;

168
How do I change the visual aspect of the close button in the filter bar, using EBN

Tree1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exFooterFilterBarButton] = 0x1000000;
Tree1->Columns->Add(L"Filter")->FilterType = Extreelib_tlb::FilterTypeEnum::exBlanks;
Tree1->ApplyFilter();

167
How do I change the visual aspect of buttons in the cell, using EBN

Tree1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Tree1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exCellButtonUp] = 0x1000000;
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exCellButtonDown] = 0x2000000;
Tree1->SelForeColor = RGB(0,0,0);
Tree1->ShowFocusRect = false;
Tree1->Columns->Add(L"Column 1")->set_Def(Extreelib_tlb::DefColumnEnum::exCellHasButton,TVariant(true));
Tree1->Items->AddItem(TVariant("Button 1"));
Tree1->Items->AddItem(TVariant("Button 2"));
Tree1->Columns->Add(L"Column 2");

166
How do I change the visual aspect of the drop down filter button, using EBN

Tree1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Tree1->Background[Extreelib_tlb::BackgroundPartEnum::exHeaderFilterBarButton] = 0x1000000;
Tree1->Columns->Add(L"Filter")->DisplayFilterButton = true;

165
Is there any function to get the control's data in your x-script format / template
Tree1->Columns->Add(L"Column");
Tree1->Items->AddItem(TVariant(Tree1->get_ToTemplate(TNoParam())));

164
How do I enable resizing the columns at runtime

Tree1->ColumnsAllowSizing = true;
Tree1->MarkSearchColumn = false;
Tree1->HeaderVisible = false;
Tree1->Columns->Add(L"Column 1");
Tree1->Columns->Add(L"Column 2");
Tree1->DrawGridLines = Extreelib_tlb::GridLinesEnum::exVLines;
Extreelib_tlb::IItemsPtr var_Items = Tree1->Items;
	var_Items->set_CellCaption(TVariant(var_Items->AddItem(TVariant("Item 1"))),TVariant(1),TVariant("Sub Item 1"));
Extreelib_tlb::IItemsPtr var_Items1 = Tree1->Items;
	var_Items1->set_CellCaption(TVariant(var_Items1->AddItem(TVariant("Item 2"))),TVariant(1),TVariant("Sub Item 2"));

163
How can I select the second inner column when spliting the cells

Tree1->SelectColumnInner = 1;
Tree1->FullRowSelect = false;
Tree1->DrawGridLines = Extreelib_tlb::GridLinesEnum::exAllLines;
Tree1->Columns->Add(L"Column");
Extreelib_tlb::IItemsPtr var_Items = Tree1->Items;
	var_Items->set_CellCaption(TNoParam(),TVariant(var_Items->get_SplitCell(TVariant(var_Items->AddItem(TVariant("Split Cell 1.1"))),TVariant(0))),TVariant("Split Cell 2.1"));
	var_Items->set_CellCaption(TNoParam(),TVariant(var_Items->get_SplitCell(TVariant(var_Items->AddItem(TVariant("Split Cell 1.2"))),TVariant(0))),TVariant("Split Cell 2.2"));
	var_Items->set_SelectItem(var_Items->FirstVisibleItem,true);

162
How can I sort by multiple columns

Tree1->SingleSort = false;
Tree1->Columns->Add(L"C1")->SortOrder = Extreelib_tlb::SortOrderEnum::SortAscending;
Tree1->Columns->Add(L"C2")->SortOrder = Extreelib_tlb::SortOrderEnum::SortDescending;
Tree1->Columns->Add(L"C3")->SortOrder = Extreelib_tlb::SortOrderEnum::SortAscending;

161
How can I add several columns to control's sort bar

Tree1->SortBarVisible = true;
Tree1->SortBarColumnWidth = 48;
Tree1->Columns->Add(L"C1")->SortOrder = Extreelib_tlb::SortOrderEnum::SortAscending;
Tree1->Columns->Add(L"C2")->SortOrder = Extreelib_tlb::SortOrderEnum::SortDescending;

160
How can I change the width of the columns being displayed in the sort bar

Tree1->SortBarVisible = true;
Tree1->SortBarColumnWidth = 48;
Tree1->Columns->Add(L"C1")->SortOrder = Extreelib_tlb::SortOrderEnum::SortAscending;
Tree1->Columns->Add(L"C2")->SortOrder = Extreelib_tlb::SortOrderEnum::SortDescending;

159
How can I change the height of the sort bar's

Tree1->SortBarVisible = true;
Tree1->SortBarHeight = 48;

158
How can I change the sort bar's foreground color

Tree1->SortBarVisible = true;
Tree1->ForeColorSortBar = RGB(255,0,0);

157
How can I change the visual appearance of the control's sort bar, using EBN files

Tree1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Tree1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
Tree1->SortBarVisible = true;
Tree1->BackColorSortBar = 0x1000000;
Tree1->BackColorSortBarCaption = 0x2000000;
Tree1->Appearance = Extreelib_tlb::AppearanceEnum::None2;

156
How can I change the sort bar's background color

Tree1->SortBarVisible = true;
Tree1->BackColorSortBar = RGB(255,0,0);
Tree1->BackColorSortBarCaption = RGB(128,0,0);

155
How can I change the default caption being displayed in the control's sort bar

Tree1->SortBarVisible = true;
Tree1->SortBarCaption = L"new caption";

154
How can I show the locked / fixed items on the bottom side of the control

Tree1->ShowLockedItems = true;
Tree1->Columns->Add(L"Column");
Extreelib_tlb::IItemsPtr var_Items = Tree1->Items;
	var_Items->set_LockedItemCount(Extreelib_tlb::VAlignmentEnum::MiddleAlignment,2);
	var_Items->set_CellCaption(TVariant(var_Items->get_LockedItem(Extreelib_tlb::VAlignmentEnum::MiddleAlignment,0)),TVariant(0),TVariant("locked item 1"));
	var_Items->set_CellCaption(TVariant(var_Items->get_LockedItem(Extreelib_tlb::VAlignmentEnum::MiddleAlignment,1)),TVariant(0),TVariant("locked item 2"));
	var_Items->AddItem(TVariant("un-locked item"));

153
How can I show the locked / fixed items

Tree1->ShowLockedItems = true;
Tree1->Columns->Add(L"Column");
Extreelib_tlb::IItemsPtr var_Items = Tree1->Items;
	var_Items->set_LockedItemCount(Extreelib_tlb::VAlignmentEnum::TopAlignment,2);
	var_Items->set_CellCaption(TVariant(var_Items->get_LockedItem(Extreelib_tlb::VAlignmentEnum::TopAlignment,0)),TVariant(0),TVariant("locked item 1"));
	var_Items->set_CellCaption(TVariant(var_Items->get_LockedItem(Extreelib_tlb::VAlignmentEnum::TopAlignment,1)),TVariant(0),TVariant("locked item 2"));
	var_Items->AddItem(TVariant("un-locked item"));

152
How can I hide the locked / fixed items

Tree1->ShowLockedItems = false;
Tree1->Columns->Add(L"Column");
Extreelib_tlb::IItemsPtr var_Items = Tree1->Items;
	var_Items->set_LockedItemCount(Extreelib_tlb::VAlignmentEnum::TopAlignment,1);
	var_Items->set_CellCaption(TVariant(var_Items->get_LockedItem(Extreelib_tlb::VAlignmentEnum::TopAlignment,0)),TVariant(0),TVariant("locked item"));
	var_Items->AddItem(TVariant("un-locked item"));

151
How can I show the control's sort bar

Tree1->SortBarVisible = true;

150
How can I stretch a picture on the control's header, when multiple levels are displayed, so it is not tiled

Tree1->PictureLevelHeader = (IPictureDisp*)(Tree1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)"));
Tree1->PictureDisplayLevelHeader = Extreelib_tlb::PictureDisplayEnum::Stretch;
Tree1->Columns->Add(L"S")->Width = 32;
Tree1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
Tree1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
Tree1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));
Tree1->Columns->Add(L"E1")->Width = 32;
Tree1->Columns->Add(L"E2")->Width = 32;
Tree1->Columns->Add(L"E3")->Width = 32;
Tree1->Columns->Add(L"E4")->Width = 32;

149
How can I display a picture on the control's header, when multiple levels are displayed, so it is not tiled

Tree1->PictureLevelHeader = (IPictureDisp*)(Tree1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)"));
Tree1->PictureDisplayLevelHeader = Extreelib_tlb::PictureDisplayEnum::MiddleRight;
Tree1->Columns->Add(L"S")->Width = 32;
Tree1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
Tree1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
Tree1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));
Tree1->Columns->Add(L"E")->Width = 32;

148
How can I display a picture on the control's header, when multiple levels are displayed

Tree1->PictureLevelHeader = (IPictureDisp*)(Tree1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
Tree1->Columns->Add(L"S")->Width = 32;
Tree1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
Tree1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
Tree1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));

147
How can I change the header's background color, when multiple levels are displayed

Tree1->BackColorLevelHeader = RGB(250,0,0);
Tree1->Columns->Add(L"S")->Width = 32;
Tree1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
Tree1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
Tree1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));

146
Can I programmatically scroll the control

Tree1->Columns->Add(L"Column");
Tree1->Items->AddItem(TVariant(0));
Tree1->Items->AddItem(TVariant(1));
Tree1->Items->AddItem(TVariant(2));
Tree1->Items->AddItem(TVariant(3));
Tree1->PutItems(Tree1->GetItems(TVariant(0)),TNoParam());
Tree1->PutItems(Tree1->GetItems(TVariant(0)),TNoParam());
Tree1->ScrollPos[true] = 1;

145
How do I disable expanding or collapsing an item when user presses the arrow keys

Tree1->ExpandOnKeys = false;
Tree1->LinesAtRoot = Extreelib_tlb::LinesAtRootEnum::exLinesAtRoot;
Tree1->Columns->Add(L"Column 1");
Extreelib_tlb::IItemsPtr var_Items = Tree1->Items;
	long h = var_Items->AddItem(TVariant("Root"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 2"));
	var_Items->set_ExpandItem(h,true);

144
How do I expand automatically the items while user types characters to searching for something ( incremental searching )

Tree1->ExpandOnSearch = true;
Tree1->LinesAtRoot = Extreelib_tlb::LinesAtRootEnum::exLinesAtRoot;
Tree1->AutoSearch = true;
Tree1->Columns->Add(L"Column")->AutoSearch = Extreelib_tlb::AutoSearchEnum::exContains;
Extreelib_tlb::IItemsPtr var_Items = Tree1->Items;
	var_Items->InsertItem(var_Items->InsertItem(var_Items->AddItem(TVariant("text")),TNoParam(),TVariant("some text")),TNoParam(),TVariant("another text"));
	var_Items->InsertItem(var_Items->InsertItem(var_Items->AddItem(TVariant("text")),TNoParam(),TVariant("some text")),TNoParam(),TVariant("another text"));

143
Can I programmatically scroll the control

Tree1->Columns->Add(L"Column");
Tree1->Items->AddItem(TVariant(0));
Tree1->Items->AddItem(TVariant(1));
Tree1->Items->AddItem(TVariant(2));
Tree1->Items->AddItem(TVariant(3));
Tree1->PutItems(Tree1->GetItems(TVariant(0)),TNoParam());
Tree1->PutItems(Tree1->GetItems(TVariant(0)),TNoParam());
Tree1->Scroll(Extreelib_tlb::ScrollEnum::exScrollDown,TNoParam());

142
Do you have some function to load data from a safe array
Tree1->Columns->Add(L"Column");
Tree1->Items->AddItem(TVariant(0));
Tree1->PutItems(Tree1->GetItems(TVariant(0)),TNoParam());

141
Do you have some function to retrieve all items to a safe array
Tree1->Columns->Add(L"Column");
Tree1->Items->AddItem(TVariant(0));
Tree1->PutItems(Tree1->GetItems(TVariant(0)),TNoParam());
Tree1->Items->AddItem(TVariant(1));
Tree1->PutItems(Tree1->GetItems(TVariant(0)),TNoParam());
Tree1->Items->AddItem(TVariant(2));
Tree1->PutItems(Tree1->GetItems(TVariant(0)),TNoParam());
Tree1->Items->AddItem(TVariant(3));

140
How can still display the selected items when the control loses the focus

Tree1->HideSelection = false;
Tree1->Columns->Add(L"Column");
Extreelib_tlb::IItemsPtr var_Items = Tree1->Items;
	var_Items->AddItem(TVariant("Item 3"));
	var_Items->AddItem(TVariant("Item 1"));
	var_Items->set_SelectItem(var_Items->AddItem(TVariant("Item 2")),true);

139
How can I hide a column

Tree1->Columns->Add(L"Hidden")->Visible = false;
Tree1->Columns->Add(L"2");
Tree1->Columns->Add(L"3");
Tree1->Columns->Add(L"4");
Tree1->Columns->Add(L"5");

138
How can I ensure that a column is visible and fits the control's client area

Tree1->ColumnAutoResize = false;
Tree1->Columns->Add(L"1")->Width = 128;
Tree1->Columns->Add(L"2")->Width = 128;
Tree1->Columns->Add(L"3")->Width = 128;
Tree1->Columns->Add(L"4")->Width = 128;
Tree1->Columns->Add(L"5")->Width = 128;
Tree1->EnsureVisibleColumn(TVariant("5"));

137
I've seen that the width of the tooltip is variable. Can I make it larger

Tree1->ToolTipWidth = 328;
Tree1->Columns->Add(L"tootip")->ToolTip = L"this is a tooltip that should be very very very very very very very long";

136
How do I disable showing the tooltip for all control
Tree1->ToolTipDelay = 0;
Tree1->Columns->Add(L"tootip")->ToolTip = L"this is a tooltip assigned to a column";

135
How do I let the tooltip being displayed longer

Tree1->ToolTipPopDelay = 10000;
Tree1->Columns->Add(L"tootip")->ToolTip = L"this is a tooltip assigned to a column";

134
How do I show the tooltip quicker
Tree1->ToolTipDelay = 1;
Tree1->Columns->Add(L"tootip")->ToolTip = L"this is a tooltip assigned to a column";

133
How do I change the caption being displayed in the control's filter bar

Tree1->FilterBarCaption = L"your filter caption";
Extreelib_tlb::IColumnPtr var_Column = Tree1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Extreelib_tlb::FilterTypeEnum::exBlanks;
Tree1->ApplyFilter();

132
How do I disable expanding or collapsing an item when user double clicks it

Tree1->ExpandOnDblClick = false;
Tree1->LinesAtRoot = Extreelib_tlb::LinesAtRootEnum::exLinesAtRoot;
Tree1->Indent = 13;
Tree1->Columns->Add(L"Column 1");
Extreelib_tlb::IItemsPtr var_Items = Tree1->Items;
	long h = var_Items->AddItem(TVariant("Root"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 2"));
	var_Items->set_ExpandItem(h,true);

131
How do I search case sensitive, using your incremental search feature

Tree1->AutoSearch = true;
Tree1->ASCIILower = L"";
Extreelib_tlb::IColumnsPtr var_Columns = Tree1->Columns;
	var_Columns->Add(L"exStartWith")->AutoSearch = Extreelib_tlb::AutoSearchEnum::exStartWith;
	var_Columns->Add(L"exContains")->AutoSearch = Extreelib_tlb::AutoSearchEnum::exContains;
Extreelib_tlb::IItemsPtr var_Items = Tree1->Items;
	var_Items->set_CellCaption(TVariant(var_Items->AddItem(TVariant("text"))),TVariant(1),TVariant("another text"));
Extreelib_tlb::IItemsPtr var_Items1 = Tree1->Items;
	var_Items1->set_CellCaption(TVariant(var_Items1->AddItem(TVariant("text"))),TVariant(1),TVariant("another text"));

130
How do I disable the control
Tree1->Enabled = false;

129
How do I enable the incremental search feature within a column

Tree1->AutoSearch = true;
Extreelib_tlb::IColumnsPtr var_Columns = Tree1->Columns;
	var_Columns->Add(L"exStartWith")->AutoSearch = Extreelib_tlb::AutoSearchEnum::exStartWith;
	var_Columns->Add(L"exContains")->AutoSearch = Extreelib_tlb::AutoSearchEnum::exContains;
Extreelib_tlb::IItemsPtr var_Items = Tree1->Items;
	var_Items->set_CellCaption(TVariant(var_Items->AddItem(TVariant("text"))),TVariant(1),TVariant("another text"));
Extreelib_tlb::IItemsPtr var_Items1 = Tree1->Items;
	var_Items1->set_CellCaption(TVariant(var_Items1->AddItem(TVariant("text"))),TVariant(1),TVariant("another text"));

128
How do I call your x-script language

Extreelib_tlb::IColumnPtr var_Column = Tree1->ExecuteTemplate(L"Columns.Add(`Column`)");
	var_Column->HeaderStrikeOut = true;
	var_Column->HeaderBold = true;

127
How do I call your x-script language

Tree1->Template = L"Columns.Add(`Column`).HTMLCaption = `<b>C</b>olumn`";

126
How do I show alternate rows in different background color

Tree1->BackColorAlternate = RGB(240,240,240);
Tree1->Columns->Add(L"Column");
Extreelib_tlb::IItemsPtr var_Items = Tree1->Items;
	var_Items->AddItem(TVariant("Item 1"));
	var_Items->AddItem(TVariant("Item 2"));
	var_Items->AddItem(TVariant("Item 3"));
	var_Items->AddItem(TVariant("Item 4"));
	var_Items->AddItem(TVariant("Item 5"));

125
How do I enlarge the drop down filter window

Tree1->FilterBarDropDownHeight = "-320";
Extreelib_tlb::IColumnPtr var_Column = Tree1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterBarDropDownWidth = "-320";
Tree1->Items->AddItem(TVariant("Item 1"));
Tree1->Items->AddItem(TVariant("Item 2"));

124
How do I filter programatically the control

Extreelib_tlb::IColumnPtr var_Column = Tree1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Extreelib_tlb::FilterTypeEnum::exPattern;
	var_Column->Filter = L"Item*";
Tree1->Items->AddItem(TVariant("Item 1"));
Tree1->Items->AddItem(TVariant(""));
Tree1->Items->AddItem(TVariant("Item 2"));
Tree1->ApplyFilter();

123
How do I change the font of the control's filterbar

Tree1->FilterBarFont->Size = TVariant(long(20));
Extreelib_tlb::IColumnPtr var_Column = Tree1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Extreelib_tlb::FilterTypeEnum::exBlanks;
Tree1->ApplyFilter();

122
Can I apply an EBN skin to the control's filter bar so I can change its visual appearance

Tree1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Tree1->FilterBarBackColor = 0x1000000;
Extreelib_tlb::IColumnPtr var_Column = Tree1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Extreelib_tlb::FilterTypeEnum::exBlanks;
Tree1->ApplyFilter();

121
How do I change the background color of the control's filterbar

Tree1->FilterBarBackColor = RGB(240,240,240);
Extreelib_tlb::IColumnPtr var_Column = Tree1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Extreelib_tlb::FilterTypeEnum::exBlanks;
Tree1->ApplyFilter();

120
How do I change the foreground color of the control's filterbar

Tree1->FilterBarForeColor = RGB(255,0,0);
Extreelib_tlb::IColumnPtr var_Column = Tree1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Extreelib_tlb::FilterTypeEnum::exBlanks;
Tree1->ApplyFilter();

119
How do I change the height of the control's filterbar

Tree1->FilterBarHeight = 32;
Extreelib_tlb::IColumnPtr var_Column = Tree1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Extreelib_tlb::FilterTypeEnum::exBlanks;
Tree1->ApplyFilter();

118
How do select only a portion of text when the control starts editing a cell

Tree1->AllowEdit = true;
Tree1->SelStart = 1;
Tree1->SelLength = 1;
Tree1->Columns->Add(L"Column");
Tree1->Items->AddItem(TVariant("Item 1"));
Tree1->Items->AddItem(TVariant("Item 2"));

117
How do I change the header's foreground color

Tree1->ForeColorHeader = RGB(255,0,0);
Tree1->Columns->Add(L"Column 1");
Tree1->Columns->Add(L"Column 2");
Tree1->Items->AddItem(TVariant("Item 1"));

116
I have a picture on the control's background, the question is how do I draw selection as semi-transparent

Tree1->Picture = (IPictureDisp*)(Tree1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
Tree1->SelBackMode = Extreelib_tlb::BackModeEnum::exTransparent;
Tree1->Columns->Add(L"Column");
Tree1->Items->AddItem(TVariant("Item 1"));
Tree1->Items->AddItem(TVariant("Item 2"));

115
It seems that the control uses the TAB key, is there any way to avoid that
Tree1->UseTabKey = false;

114
I have FullRowSelect property on False, how do I force the user to select cells only in a specified column

Tree1->SelectColumnIndex = 1;
Tree1->FullRowSelect = false;
Tree1->SelectColumn = true;
Tree1->Columns->Add(L"Column 1");
Tree1->Columns->Add(L"Column 2");
Extreelib_tlb::IItemsPtr var_Items = Tree1->Items;
	var_Items->set_CellCaption(TVariant(var_Items->AddItem(TVariant("Item 1"))),TVariant(1),TVariant("SubItem 1"));

113
How do I assign a database to your control, using ADO, ADOR or ADODB objects

Tree1->ColumnAutoResize = false;
Tree1->ContinueColumnScroll = false;
/*
	Select the Component\Import Component...\Import a Type Library,
	to import the following Type Library:

		Microsoft ActiveX Data Objects 6.1 Library

	TypeLib: msado15.dll

	to define the namespace: Adodb_tlb
*/
//#include "ADODB_TLB.h"
Adodb_tlb::_RecordsetPtr rs = Variant::CreateObject(L"ADOR.Recordset");
	rs->Open(TVariant("Orders"),TVariant("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExTree\\Sample\\Access\\sample.mdb"),Adodb_tlb::CursorTypeEnum::adOpenStatic,Adodb_tlb::LockTypeEnum::adLockOptimistic,0);
Tree1->DataSource = (IDispatch*)rs;

112
How do I change the visual appearance effect for the selected item, using EBN

Tree1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Tree1->SelBackColor = 0x1000000;
Tree1->SelForeColor = RGB(0,0,0);
Tree1->ShowFocusRect = false;
Tree1->Columns->Add(L"Column");
Tree1->Items->AddItem(TVariant(0));
Tree1->Items->AddItem(TVariant(1));

111
How do I change the colors for the selected item

Tree1->SelBackColor = RGB(0,0,0);
Tree1->Columns->Add(L"Column");
Tree1->Items->AddItem(TVariant(0));
Tree1->Items->AddItem(TVariant(1));

110
How do I get ride of the rectangle arround focused item

Tree1->ShowFocusRect = false;
Tree1->Columns->Add(L"Column");
Tree1->Items->AddItem(TVariant(0));
Tree1->Items->AddItem(TVariant(1));

109
How can I change the control's font
Tree1->Font->Name = L"Tahoma";
Tree1->Columns->Add(L"Column");

108
I can't scroll to the end of the data. What can I do

Tree1->ScrollBySingleLine = true;
Tree1->DrawGridLines = Extreelib_tlb::GridLinesEnum::exRowLines;
Tree1->Columns->Add(L"Column");
Extreelib_tlb::IItemsPtr var_Items = Tree1->Items;
	var_Items->set_ItemHeight(var_Items->AddItem(TVariant(0)),13);
Tree1->PutItems(Tree1->GetItems(TVariant(0)),TNoParam());
Extreelib_tlb::IItemsPtr var_Items1 = Tree1->Items;
	var_Items1->set_ItemHeight(var_Items1->AddItem(TVariant(1)),26);
Tree1->PutItems(Tree1->GetItems(TVariant(0)),TNoParam());
Extreelib_tlb::IItemsPtr var_Items2 = Tree1->Items;
	var_Items2->set_ItemHeight(var_Items2->AddItem(TVariant(2)),36);
Tree1->PutItems(Tree1->GetItems(TVariant(0)),TNoParam());
Extreelib_tlb::IItemsPtr var_Items3 = Tree1->Items;
	var_Items3->set_ItemHeight(var_Items3->AddItem(TVariant(3)),48);
Tree1->PutItems(Tree1->GetItems(TVariant(0)),TNoParam());

107
How do I specify the column where the tree lines / hierarchy are shown

Tree1->LinesAtRoot = Extreelib_tlb::LinesAtRootEnum::exGroupLinesAtRoot;
Tree1->TreeColumnIndex = 1;
Tree1->Columns->Add(L"Column 1");
Tree1->Columns->Add(L"Column 2");
Extreelib_tlb::IItemsPtr var_Items = Tree1->Items;
	long h = var_Items->AddItem(TVariant("Root 1.1"));
	var_Items->set_CellCaption(TVariant(h),TVariant(1),TVariant("Root 1.2"));
	var_Items->set_CellCaption(TVariant(var_Items->InsertItem(h,TNoParam(),TVariant("Child 1.1"))),TVariant(1),TVariant("Child 1.2"));
	var_Items->set_CellCaption(TVariant(var_Items->InsertItem(h,TNoParam(),TVariant("Child 2.1"))),TVariant(1),TVariant("Child 2.2"));
	var_Items->set_ExpandItem(h,true);
	h = var_Items->AddItem(TVariant("Root 2.1"));
	var_Items->set_CellCaption(TVariant(h),TVariant(1),TVariant("Root 2.2"));
	var_Items->set_CellCaption(TVariant(var_Items->InsertItem(h,TNoParam(),TVariant("Child 1.1"))),TVariant(1),TVariant("Child 1.2"));

106
How do I specify the indentation of the child items relative to their parents

Tree1->LinesAtRoot = Extreelib_tlb::LinesAtRootEnum::exGroupLinesAtRoot;
Tree1->Indent = 11;
Tree1->Columns->Add(L"Column");
Extreelib_tlb::IItemsPtr var_Items = Tree1->Items;
	long h = var_Items->AddItem(TVariant("Root 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 2"));
	var_Items->set_ExpandItem(h,true);
	h = var_Items->AddItem(TVariant("Root 2"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child"));

105
Is there any option to select an item using the right button of the mouse (rclick)

Tree1->RClickSelect = true;
Tree1->Columns->Add(L"Column");
Tree1->Items->AddItem(TVariant("Item 1"));
Tree1->Items->AddItem(TVariant("Item 2"));

104
How do I edit a cell

Tree1->AllowEdit = true;
Tree1->Columns->Add(L"Column");
Tree1->Items->AddItem(TVariant("Item 1"));
Tree1->Items->AddItem(TVariant("Item 2"));

103
I have FullRowSelect property on False, how do I select a column
Tree1->SelectColumnIndex = 1;
Tree1->FullRowSelect = false;

102
How can I scroll columns one by one, not pixel by pixel

Tree1->ContinueColumnScroll = false;
Tree1->ColumnAutoResize = false;
Tree1->Columns->Add(L"1")->Width = 128;
Tree1->Columns->Add(L"2")->Width = 128;
Tree1->Columns->Add(L"3")->Width = 128;
Tree1->Columns->Add(L"4")->Width = 128;
Tree1->Columns->Add(L"5")->Width = 128;

101
How can I enable multiple items selection

Tree1->SingleSel = false;
Tree1->Columns->Add(L"Column");
Tree1->Items->AddItem(TVariant(0));
Tree1->Items->AddItem(TVariant(1));
Tree1->Items->AddItem(TVariant(2));